<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>第三讲，控制器</title>
</head>
<body>
<div ng-app="myApp">
	<div ng-controller="firstController">
		<input type="text"  ng-model = "name" />
		
		<div ng-controller="secondController">
			<input type="text"  ng-model = "name" />
		</div>
	</div>
</div>

<script type="text/javascript" src="js/angular.js"></script>
<script type="text/javascript" src="js/a3.js"></script>




</body>
</html> 